'use strict';

const { Service } = require('egg');

class UserService extends Service {
  async geAll() {
    // return [{
    //   name: 'service...',
    // }];
    return await this.ctx.model.User.findAll();
  }
}
module.exports = UserService;
